#ifndef ENVELOPES_H
#define ENVELOPES_H

#include <jack/jack.h>

#define RING_BUF_SIZE 1024

extern float ring_buf[MAX_CHANNELS][RING_BUF_SIZE];

float env_read(int port);

int process_ring(jack_nframes_t nframes, void *arg);

#endif
